
<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="renderer" content="webkit" />
	<meta name="viewport" content="width=device-width, user-scalable=yes" />
	<title>{$title}{$conf.title2}</title>
	<meta name="keywords" content="{$conf.keywords}">
	<meta name="descripton" content="{$conf.description}">
	<link rel="shortcut icon" href="{#WWW}favicon.ico">
	<link rel="stylesheet" href="{#WWW}View/hy_boss/css/app.css"><!-- 
	<link rel="stylesheet" href="{#WWW}View/hy_boss/css/remodal.css">
	<link rel="stylesheet" href="{#WWW}View/hy_boss/css/remodal-default-theme.css"> -->

	<script>
	var www = "{#WWW}";
	var exp = "{#EXP}";
	</script>

	<script src="{#WWW}public/js/jquery.min.js"></script>
	<script src="{#WWW}View/hy_boss/js/jquery.darktooltip.js"></script>
	<!-- <script src="{#WWW}View/hy_boss/js/remodal.min.js"></script>-->
	<script src="{#WWW}public/js/app.js"></script>
	<link href="{#WWW}public/css/alert.css" rel="stylesheet">
	<script src="{#WWW}View/hy_boss/js/app.js"></script>
	{hook t_header}
	{if IS_LOGIN}
	<script>
	$(document).ready( function(){
		$(".menu-box").darkTooltip({
			content:'<div class="profile-card1"><img src="{#WWW}{$user.avatar.b}"class="circle pull-left"width="64"height="64"><div class="info"><p class="uname"><a href="<?php echo WWW.URL('my',$user['user']);?>"target="_blank">admin</a></p><a href="<?php echo WWW.URL('my',$user['user']);?>"class="btn bg-primary profile"style="margin-right: 10px;margin-top: 10px;">我的主页</a><?php if($user['group'] == C('ADMIN_GROUP')):?><a href="{#WWW}admin"class="btn bg-white profile"style="margin-top: 10px;">后台管理</a>{/if}<a href="{#WWW}user{#EXP}out"class="btn bg-white profile"style="margin-right: 10px;margin-top: 10px;">退出账号</a></div></div>',
			gravity:'north',
			animation:'flipIn',
			trigger:'click',
			size:'medium',

		});
	});
	</script>
	{/if}
</head>
<body>
<div class="navbar select-disabled shadow">
	<div class="container clearfix">
		<div class="menu horizontal pull-left nav-menu">
			<a href="{#WWW}">HYBBS</a>

		</div>

		<div class="menu horizontal nav-account">
			
		{if !IS_LOGIN}
			<a href="{#WWW}user{#EXP}add" class="js-popup-register">注册</a>
			<a href="{#WWW}user{#EXP}login" class="js-popup-login">登录</a>
		{else}
			<a href="javascript:void(0);" class="menu-box" pos="bottom">{$user.user}</a>
		{/if}
		<a href="#" id="setWidth" class="icon-enlarge2"> 宽屏</a>
		</div>
	</div>
</div>
{hook t_top_box}
